package com.clayecloud.lib_common.apis;

import com.clayecloud.lib_common.utils.MessageUtil;


import io.reactivex.Observable;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

public interface LoginApi {

    @GET("login/")
    Observable<MessageUtil> login(@Query("account")String account, @Query("userPassword")String userPassword);

    @GET("login/userinfo")
    Observable<MessageUtil> getUserBaseInfo(@Query("token")String token);
}
